package cn.stu.framework.mapper;

import cn.stu.framework.entity.UsersDetail;
import cn.stu.framework.vo.UsersDetailVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-08-04
 */
@Mapper
public interface UsersDetailMapper extends BaseMapper<UsersDetail> {
    IPage<UsersDetailVo> getContacts(Page<UsersDetailVo> page, @Param("deptId") Long deptId, @Param("name") String name, @Param("tel") String tel);

   List<UsersDetailVo> getUserList();
}
